// store/modules/app.js
const state = {
  systemInfo: {},
  networkType: '',
  globalLoading: false
};

const mutations = {
  SET_SYSTEM_INFO(state, info) {
    state.systemInfo = info;
  },
  SET_NETWORK_TYPE(state, type) {
    state.networkType = type;
  },
  SET_GLOBAL_LOADING(state, loading) {
    state.globalLoading = loading;
  }
};

const actions = {};

const getters = {};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}; 